<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><link rel="stylesheet/less" type="text/css" href="http://localhost/baidusale/Application/Index/View/Public/css/head-foot.less" />
<script src="http://localhost/baidusale/Application/Index/View/Public/js/less.js" type="text/javascript"></script>
<script src="http://localhost/baidusale/Application/Index/View/Public/js/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
    // 登录
    $('#login').click(function(){
        $('.login-kuang').css("display","block");
    })
    $('.login-close').click(function(){
        $('.login-kuang').css("display","none");
    })
    // 注册
    $('#regist').click(function(){
        $('.regist-kuang').css("display","block");
    })
    $('.regist-close').click(function(){
        $('.regist-kuang').css("display","none");
    })
})
</script>

</head>
<body>
<!-- 头部开始 -->
<div id="top">
    <a id="logo" href="/waimai"></a>
    <div id="change">
        <div></div>
        <input type="text" value="烟云村">
        <a href="">切换</a>
    </div>
    <ul>
        <a href=""><li style="background:#dc1432;">外卖</li></a>
        <a href=""><li>我的订单</li></a>
        <a href=""><li>联系我们</li></a>
    </ul>
    <div id="in">
         <a id="login" href="###">登录</a>
         <a id="regist" href="###">注册</a>
    </div>
    <!-- 登陆框 -->
    <div class="login-kuang">
        <div class="login-kuang-top">
            <div class="login-kuang-top1"></div>
            <div class="login-kuang-top2">登录百度账号</div>
            <div class="login-close"></div>
        </div>
        <form action="" method="">
            <div class="user">
                <div class="user-left"></div>
                <input type="text" name="user" value="凯爵爷">
                <div class="user-right"></div>
            </div>
            <div class="password">
                <div class="password-left"></div>
                <input type="text" name="password" value="密码">
                <div class="password-right"></div>
            </div>
            <div class="auto">
                <input type="checkbox" checked="checked"  name="auto">
                <span>&nbsp;&nbsp;下次自动登录</span>
                <a href="">忘记密码？</a>
            </div>
            <input type="submit" name="submit" class="submit" value="登录">
            <a class="lijizhuce" href="">立即注册</a>
        </form>
        <a href=""></a>
    </div>

 <!-- 注册框 -->
    <div class="regist-kuang">
        <div class="regist-kuang-top">
            <div class="regist-kuang-top1"></div>
            <div class="regist-kuang-top2">注册百度账号</div>
            <div class="regist-close"></div>
        </div>
        <form action="" method="">
            <div>
                <span>手机/邮箱</span>
                <input class="user" type="text" name="user" value="手机/邮箱">          
            </div>
            <div>
                <span>密码</span>
                <input class="password1" type="text" name="password1" value="密码">        
            </div>
            <div>
                <span>验证码</span>
                <input class="password2" type="text" name="password2" value="验证码"> 
                <img id="code" src="" alt="">  
            </div>         
            <div class="auto">
                <input type="checkbox" checked="checked"  name="auto">
                <span>&nbsp;&nbsp;我已阅读并接受<a href="">《百度用户协议》</a></span>
            </div>
            <input type="submit" name="submit" class="submit" value="注册">          
        </form>
        <a class="yiyou" href="">登录已有账号</a>
    </div>    
</div>